

import config from "config";
import { errLogger } from './logger';

const DingRobot = require('ding-robot');


export const robot = new DingRobot(config.get<{ access_token: string }>("dingRobot").access_token, (err) => {
  if (err) {
    errLogger.error(`DingRobot ${err.message}`)
  }
}); 
